package com.foreveredu.propms.persist;

import java.util.List;

import com.foreveredu.propms.domain.Bill;
import com.foreveredu.propms.domain.BillOther;
import com.foreveredu.propms.domain.House;

public interface IBillDao extends IDao<Bill, Integer> {

	//查找某房产某月份的账单
	Bill findByHouseAndMonth(House house, int year, int month);

	//查找某房产的历史欠款
	float findHistoryDebtOfHouse(House house);

	//查询某房产的历史欠费账单明细
	Bill findHistoryBillOfHouse(House house);

	//查找某房产的所有未付账单
	List<Bill> findNotPaidBillsOfHouse(House house);

	List<Bill> findBillsByBillOther(BillOther billOther);

	List<Bill> findBillsOfHouse(House house);

}
